export const isAuthenticated = (state, data) => {
  state.isAuthenticated = data;
}

export const setUser = (state, data) => {
  state.user = data;

}

export const userToken = (state, data) => {
  state.token = data;
  console.log(state.token)
}
